package com.fhz.shop.dao;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;

import com.fhz.shop.entity.SearchBean;

import java.util.List;

/**
 * 时间:2023/9/1
 *
 * @author Mr.Feng
 * 简述: TODO
 */
@Dao
public interface SearchDao {

    @Insert
    void insertSearch(SearchBean... searchBeans);

    @Delete
    void deleteSearch(SearchBean searchBean);

    @Query("select * from searchbean")
    List<SearchBean> queryAll();

}   
